Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make X509StoreContextError's message friendlier #1133

Merged
merged 4 commits into from
Jul 7, 2022

Conversation

woodruffw
Copy link
Contributor

The message is now a string, rather than a list of errors. The list of errors is separately preserved.

Closes #1132.

@woodruffw
Copy link
Contributor Author

cc @reaperhulk for review!

Signed-off-by: William Woodruff <[email protected]>
@reaperhulk
Copy link
Member

This is backwards incompatible, so we should add it to the changelog and document it.

Signed-off-by: William Woodruff <[email protected]>
@woodruffw
Copy link
Contributor Author

Okay, updated the changelog. The exception class appears to be autodoc'd, so I don't think any doc changes are necessary. But let me know if I'm wrong.

@reaperhulk reaperhulk merged commit 65ca53a into pyca:main Jul 7, 2022
@woodruffw woodruffw deleted the ww/store-context-err-msg branch July 7, 2022 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Make X509StoreContextError more structured?
2 participants